/* @(#)GSLoginAction.java    
*
* Project: BUS
*
* Modify Information:
* =============================================================================
*   Author       Date       Description
*   ------------ ---------- ---------------------------------------------------
*   Simonyi Peng 2006-2-7    建立
*
* Copyright Notice:
* =============================================================================
*    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
*        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
*        Haidian District, Beijing ,100081, China All rights reserved.
*
*    This software is the confidential and proprietary information of
*        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
*        You shall not disclose such Confidential Information and shall use it
*        only in accordance with the terms of the license agreement you entered
*        into with HiTRUST.
*
* Warning:
* =============================================================================
* 
*/
package com.hitrust.gs.action;

import com.hitrust.gs.business.GSManufactureProcessor;
import com.hitrust.gs.lib.GSBaseConstants;
import com.hitrust.gs.service.GSBaseAction;
import com.hitrust.gs.service.GSBaseForm;
import com.hitrust.gs.util.exception.GSException;

/**
 * @author simonyi
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class GSOrderModifyManufactureQueryInitAction extends GSBaseAction {
	public String execute(GSBaseForm aForm) throws Exception {
	    
	    aForm.getSession().removeAttribute("QUERYCONDITION");
        //查询产品等级
        GSManufactureProcessor mproc = new GSManufactureProcessor();
        try{
            mproc.getManufactureOfLevel(aForm);
        }catch(GSException gse){
            aForm.getRequest().setAttribute("action", "A100599.do");
            aForm.getRequest().setAttribute("window","true");
            throw gse;
        }
        
        
        return GSBaseConstants.FORWARD_SUCCESS;
        
	}
}
